Glenn Stovall's Public Notebook

Ruby Interview Study Guide

class MyClass
  @@myClassVariable = 'MyClass'
  @myInstanceVariable = 'foo'
end
class MyClass
  def initialize
    # my constructor
  end